* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 29 Jan 2009 10:38:16 +0000 (10:38 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 29 Jan 2009 10:38:16 +0000 (10:38 +0000)
commit2da856909a2f1c6d9659e0c9f45bbd1ed890450b
tree1d6c0902c3afd5aed474d520e6a803199d0e59bc
parentb878196fe8a97a4d2e10873d00c7305e2c6f9ab2
* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
under GNUstep.
(ns_query_color): New declaration.

* nsterm.m (ns_confirm_quit): New variable.
(ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it.
(EmacsApp-applicationShouldTerminate:): Use it.
(EmacsPrefsController): Let user set it.
(ns_query_color): New function.
(ns_defined_color): Use it.
(ns_initialize): Drop.
(ns_term_init): Add two lines from ns_initialize(), and set
input_interrupt_mode to nil.

* image.c (svg_load_image): Don't right-shift background RGB when
obtained from FRAME_BACKGROUND_PIXEL. Under HAVE_NS use ns_query_color.
src/ChangeLog